Total Complexity | 49 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 441 |
Lines of code | 271 |
Logical lines of code | 121 |
Comment lines | 127 |
Methods | 14 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
enqueue_data() | 33 | 15 | 101 | |
render() | 42 | 10 | 53 | |
hydrate_customer_payment_methods() | 54 | 4 | 21 | |
is_block_editor() | 68 | 4 | 7 | |
include_token_id_with_payment_methods() | 62 | 4 | 10 | |
get_checkout_block_types() | 53 | 1 | 26 | |
get_block_type_editor_script() | 66 | 2 | 8 | |
get_block_type_script() | 66 | 2 | 8 | |
is_checkout_endpoint() | 79 | 2 | 3 | |
get_block_type_style() | 79 | 1 | 3 | |
enqueue_assets() | 74 | 1 | 5 | |
get_enabled_payment_gateways() | 67 | 1 | 9 | |
hydrate_from_api() | 63 | 1 | 10 | |
register_block_type_assets() | 68 | 1 | 7 |